<template>
    <div>
        <!-- <a target="_blank" href="www.baidu.com"
            ><el-button>登录嘉兴系统</el-button></a
        > -->
		<a class="go"  target="_blank" :href="'http://134.100.1.130:8083/jx_analysis/#/virtualLogin?userMobile=' + tel" >登录嘉兴系统</a>
    </div>
</template>

<script>
import { getCookie } from "@/common/js/cookie";
import { getSessionStorage } from "@/common/js/storage";
export default {
    data() {
        return {
            token: "",
			tel: ''
        };
    },
    mounted() {
		 this.tel = JSON.parse(getSessionStorage("SysUserCode"));
	},
	methods: {
		go() {
			window.location.href = 'http://134.100.1.130:8083/jx_analysis/#/virtualLogin?userMobile=' + JSON.parse(getSessionStorage("SysUserCode"));
		}
	},
};
</script>

<style lang="scss" scoped>
.go {
	display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #FFF;
    border: 1px solid #DCDFE6;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
    margin: 0;
    -webkit-transition: .1s;
    transition: .1s;
    font-weight: 500;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
}
</style>